<div class="content">
    <table border="1">
        <tr>
            <td>Id</td>
            <td><?php echo $this->translate('name'); ?></td>
            <td>imei</td>
        </tr>
    <?php
    foreach($this->imei as $val) {
        echo '<tr>';
        echo '<td>'.$val['id'].'</td>';
        echo "<td> <a href=".$this->url(array(
                                'controller' => 'gps',
                                'action' => 'showfullroute',
                                'id' => $val['id'])) . ">" . $val['name']."</a></td>";
        echo '<td>'.$val['imei'].'</td>';
        echo '</tr>';
    }
    ?>    
    </table>
</div>